package ldh.im.business.dao;

import ldh.im.business.pojo.CmsArticle;
import ldh.im.business.pojo.where.CmsArticleWhere;

import java.util.List;

/**
* @author: ldh
* @date: 2021-07-04 17:02:34
*/
public interface CmsArticleDao {

	Integer insert(CmsArticle cmsArticle);

	Integer insertSelective(CmsArticle cmsArticle);

	Integer updateById(CmsArticle cmsArticle);
	
	Integer updateNotNullById(CmsArticle cmsArticle);
	
	Integer deleteById(Long id);

	CmsArticle getById(Long id);

	List<CmsArticle> findByCmsArticleWhere(CmsArticleWhere cmsArticleWhere);
	
	Long findTotalByCmsArticleWhere(CmsArticleWhere cmsArticleWhere);
	
	
}
